#ifndef STAT_REPORT_H
#define STAT_REPORT_H

#include "http_post.h"

class Stat_Report : public Http_Post
{
    Q_OBJECT
public:
    Stat_Report(Http_Post *parent = 0);
    ~Stat_Report();

    Q_INVOKABLE void firstRequestSuccess(QString uuid);
    Q_INVOKABLE void secondRequestStart(QString uuid);
    Q_INVOKABLE void postV2(QString uuid);

protected:
    void finished(QNetworkReply* reply);

private:
    void m_post(QString host, QString uuid);
};

#endif // STAT_REPORT_H
